.kb-page .page-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    .kb-page .page-header h1 {
      margin: 0;
      font-size: 1.8em;
      color: #34495e;
    }
    .kb-page .page-header button i {
      margin-right: 5px;
    }

    .kb-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .search-input {
      flex: 1;
      max-width: 400px;
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 0.95rem;
      box-sizing: border-box;
    }
    .search-input:focus {
      outline: none;
      border-color: #007bff;
      box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

    .doc-count {
      font-size: 0.9em;
      color: #666;
      margin-left: 15px;
    }
    .count-number {
      font-weight: bold;
      color: #007bff;
    }

    /* Compact table-based document list */
    .compact-doc-list {
      margin-top: 10px;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .doc-table {
      width: 100%;
      border-collapse: collapse;
      background-color: #fff;
      font-size: 0.9em;
    }

    .doc-table th {
      background-color: #f8f9fa;
      color: #495057;
      text-align: left;
      padding: 12px 15px;
      font-weight: 600;
      border-bottom: 2px solid #dee2e6;
    }

    .doc-table td {
      padding: 10px 15px;
      border-bottom: 1px solid #e9ecef;
      vertical-align: middle;
    }

    .doc-row:hover {
      background-color: #f8f9fa;
    }

    .doc-title {
      max-width: 300px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .doc-title a {
      color: #2c3e50;
      text-decoration: none;
      font-weight: 500;
    }
    .doc-title a:hover {
      color: #007bff;
      text-decoration: underline;
    }

    .doc-type {
      color: #6c757d;
      font-size: 0.9em;
    }

    .doc-date {
      color: #6c757d;
      font-size: 0.9em;
      white-space: nowrap;
    }

    .status-badge {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 12px;
      font-size: 0.8em;
      font-weight: 500;
      text-transform: uppercase;
    }
    .status-published {
      background-color: #d4edda;
      color: #155724;
    }
    .status-draft {
      background-color: #fff3cd;
      color: #856404;
    }

    .doc-actions {
      white-space: nowrap;
      text-align: right;
    }
    .doc-actions .action-btn {
      padding: 4px 8px;
      font-size: 0.8em;
      margin-left: 5px;
    }
    .small-btn {
      padding: 4px 8px;
      font-size: 0.8em;
    }
    .edit-btn {
      background-color: #ffc107; color: #212529;
    }
    .edit-btn:hover {
      background-color: #e0a800;
    }
    .delete-btn {
      background-color: #dc3545; color: white;
    }
    .delete-btn:hover {
      background-color: #c82333;
    }
    
    .loading-text {
      text-align: center;
      font-size: 1.2em;
      color: #555;
      padding: 30px;
    }
    .empty-state {
      text-align: center;
      padding: 40px;
      font-size: 1.1em;
      color: #777;
    }
    .empty-state a {
      color: #007bff;
      font-weight: bold;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .doc-table th:nth-child(2), 
      .doc-table td:nth-child(2) {
        display: none; /* Hide type column on small screens */
      }
      
      .doc-title {
        max-width: 200px;
      }
    }

    @media (max-width: 576px) {
      .doc-table th:nth-child(3), 
      .doc-table td:nth-child(3) {
        display: none; /* Hide date column on very small screens */
      }
      
      .doc-title {
        max-width: 150px;
      }
    }
